<div class="bh-content">
	<div class="bh-ly-jj-lvviews_con">
    	<?php $this->widget('lib.ext.data.DataWidget',array(
    		'view' => 'app.views.partials.search.category_search'
    	))?>
	<div class="bh-ly-jj-lyview_conR bh-Border_1 bh-fr">
        <h3 class="bh-ly-jj-con_rgbt bh-ly-jj-borderB bh-mBt10"><?php echo $model->fullTitle?></h3>
		<div class="bh-ly-jj-lvxianlu1">
            	<div class="bh-fl"><a href="javascript:void(0)"><?php echo $model->img(272,251)?></a></div>
                <div class="bh-ly-jj-xianlu-buy bh-fl bh-mlt30">
                	<table class="bh-ly-jj-xianlu_buytab"  width="100%">
                    	<tr>
                        	<td class="bh-textRt">酒店星级：</td>
                            <td class="bh-textLt"><?php echo Yii::app()->enum->lookup('basic.hotelStar', CHtml::value($model, 'star') );?></td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">酒店地址：</td>
                            <td class="bh-textLt"><?php echo $model->detailProvince.' '.$model->address?></td>
                        </tr>
                        <tr>
                        	<td class="bh-textRt">详细地址：</td>
                            <td class="bh-textLt"><?php echo CHtml::value($model, 'address')?></td>
                        </tr>
                    </table>
                </div>
                <div class="bh-space"></div>
            </div>
        <div class="bh-space"></div>
            <div class="bh-Border_1 bh-padL10">
            	<h3 class="bh-ly-jj-con_rgbt">房间预定</h3>
            	<table width="639" border="0" class="bh-textCt">
                  <tr height="40">
                    <th>房型</th>
                    <th>早餐</th>
                    <th>床型</th>
                    <th>宽带</th>
                    <th>价格</th>
                    <th>供应商</th>
                    <th>操作</th>
                  </tr>
                  <?php foreach ($model->goods as $item):?>
					<tr height="40">
						<td><?php echo $item->room_type?></td>
						<td><?php echo $item->breakfast?></td>
						<td><?php echo Yii::app()->enum->lookup('goods.bedType',$item->bed_type)?></td>
						<td><?php echo Yii::app()->enum->lookup('goods.broadbandType',$item->broadband_type)?></td>
						<td>￥<?php echo CHtml::value($item, 'goods.priceInfo.price_dealer')?></td>
						<td><a href='<?php echo CHtml::value($item, 'goods.pShop')?>'><?php echo CHtml::value($item, 'goods.provider.profile.nickname')?></a></td>
						<td><a href="<?php echo $this->createUrl('order/write',array('id'=>$item->goods_id))?>"><img src="<?php echo Yii::app()->baseUrl; ?>/images/jj-jiudianxiangqing-yudinganniu.jpg" width="62" height="29" /></a></td>
					</tr>
				<?php endforeach;?>
            </table>
			<div class="bh-space"></div>
			<div class="bh-space"></div>
			<table width="90%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
	                        <td width="95" height="35" class="bh-textRt">酒店名称：</td>
	                        <td width="180"><?php echo $model->fullTitle?></td>
	                        <td width="95" class="bh-textRt">酒店地址：</td>
	                        <td width="323"><?php echo $model->detailProvince.' '.$model->address?></td>
                      </tr>
                      <tr>
                       		<td valign="top"  width="95" class="bh-textRt">酒店介绍：</td>
	                        <td colspan="3">
	                        	<div class="bh-ly-jj-wenbenyu1 bh-Border_1"><?php echo $model->desc?></div>
                        	</td>
                      </tr>
            </table>
			<div class="bh-space"></div>
			<div class="bh-space"></div>
      </div>
		<div class="bh-space"></div>
      </div>
    </div>
    <div class="bh-space"></div>
</div>